package org.darkforest.fileServer.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class MainController {

    @RequestMapping(value = "/")
    public String index(HttpServletRequest request) {
        request.setAttribute("gee_str", "gee_str");
        return "login";
    }

    @RequestMapping("/login")
    public String login() {
        return "login";
    }
}
